home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 01 / 3 / DISK0130.ZIP / SORTF.MAN < prev    next >
Text File  |  1983-09-07  |  678b  |  26 lines

  1. .im man.im
  2. .NM sortf sort text lines
  3. .SY sortf
  4. .FU
  5. .ital sortf
  6. sorts its input into ascending lexicographic order.
  7. Two lines are in order if they are identical or if the leftmost character
  8. position in which they differ contains characters which are in order,
  9. using the internal numeric representation of the characters.
  10. If a line is a proper prefix of another line, it precedes that line in
  11. sort order.
  12. .sp
  13. .ital sortf
  14. writes intermediate data to files
  15. named
  16. .ital stemp#,
  17. where # is a small decimal digit string;
  18. these filenames should be avoided.
  19. .EG
  20. To print the sorted output of a program:
  21. .Q1
  22. program }temp1
  23. sortf  {temp1 }temp2
  24. printf {temp2
  25. .Q2
  26.